package entity.salary;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author beisheng
 * @since 2023-03-14
 */
@Getter
@Setter
@TableName("sa_payable")
public class Payable implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 员工工号
     */
    @TableId("emp_worknumber")
    private String empWorknumber;

    /**
     * 薪资所属月
     */
    @TableField("salary_month")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date salaryMonth;

    /**
     * 累计收入
     */
    @TableField("cumulative_revenue")
    private Double cumulativeRevenue;

    /**
     * 累计减除费用
     */
    @TableField("cumulative_abatement")
    private Double cumulativeAbatement;

    /**
     * 累计社保个人合计
     */
    @TableField("cumulative_social_security")
    private Double cumulativeSocialSecurity;

    /**
     * 累计公积金个人合计
     */
    @TableField("cumulative_accumulation")
    private Double cumulativeAccumulation;

    /**
     * 累计子女教育
     */
    @TableField("cumulative_children_education")
    private Double cumulativeChildrenEducation;

    /**
     * 累计继续教育
     */
    @TableField("cumulative_continuing_education")
    private Double cumulativeContinuingEducation;

    /**
     * 累计住房租金
     */
    @TableField("cumulative_rent")
    private Double cumulativeRent;

    /**
     * 累计住房贷款利息
     */
    @TableField("cumulative_mortgage")
    private Double cumulativeMortgage;

    /**
     * 累计赡养老人
     */
    @TableField("cumulative_supporting_the_elderly")
    private Double cumulativeSupportingTheElderly;

    /**
     * 累计3岁以下婴幼儿照护
     */
    @TableField("cumulative_infant")
    private Double cumulativeInfant;

    /**
     * 累计专项扣除
     */
    @TableField("cumulative_special_deductions")
    private Double cumulativeSpecialDeductions;

    /**
     * 累计专项附加扣除
     */
    @TableField("cumulative_special_additional_deductions")
    private Double cumulativeSpecialAdditionalDeductions;

    /**
     * 累计应纳税所得额
     */
    @TableField("cumulative_taxable_income")
    private Double cumulativeTaxableIncome;

    /**
     * 累计应纳税额
     */
    @TableField("cumulative_ratal")
    private Double cumulativeRatal;

    /**
     * 当月应纳税额
     */
    @TableField("cumulative_ratal_mon")
    private Double cumulativeRatalMon;

    /**
     * 税款所属期
     */
    @TableField("tax_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date taxTime;


}
